package cn.wbu.zyh.service;

import cn.wbu.zyh.dto.InvitationDTO;
import cn.wbu.zyh.dto.TeamMemberDTO;
import cn.wbu.zyh.entity.Invitation;

import java.util.List;

public interface InvitationService {
    void createInvite(InvitationDTO invitationDTO);

    List<Invitation> getPendingInvites(String userId);

    List<Invitation> getInviteHistory(String username);

    void acceptInvite(TeamMemberDTO teamMemberDTO);

    void rejectInvite(String inviteId);
}
